Skip to content

feat: activity page with audit-log JSON download#55

Merged
obcode merged 1 commit into
mainfrom
feat/activity-page
Jul 20, 2026
Merged

feat: activity page with audit-log JSON download#55
obcode merged 1 commit into
mainfrom
feat/activity-page

Conversation

@obcode

@obcode obcode commented Jul 20, 2026

Copy link
Copy Markdown
Owner

GUI-Teil des Audit-Log-Dumps (Backend: obcode/glabs #131). Erfüllt „Seite + JSON-Download".

Inhalt

  • /activity-Seite (neuer Nav-Link „Aktivität"): der vollständige Audit-Verlauf über alle Kurse des Nutzers, neueste zuerst — Zeit / Kurs / Assignment / Operation / Status / Detail — über die owner-weite activityLog-Query. Status-Badges (done/failed) wie auf der Jobs-Seite, Zeit via formatDateTime.
  • „⬇️ JSON-Download"/download/activity (glabs-activity.json), liefert dieselben owner-scoped Daten als Datei (Content-Disposition), spiegelbildlich zur YAML-Download-Route.
  • schema.graphql neu gezogen + Codegen (activityLog, course-Feld auf ActivityEntry).

Verifikation

  • pnpm check (0 Fehler) · lint · test (20/20) · build — alle grün.
  • Beide Routen folgen exakt dem bereits verifizierten Muster (Studi-Seite / YAML-Download); die activityLog-Query selbst wurde backend-seitig gegen Wegwerf-Mongo gesmoked.

🤖 Generated with Claude Code

New /activity page (nav link "Aktivität"): the full audit trail across all
of the user's courses, newest first — time / course / assignment / op /
status / detail — via the backend's owner-wide activityLog query. A
"⬇️ JSON-Download" button serves the same owner-scoped data as a file from
/download/activity (glabs-activity.json), mirroring the YAML-download
route.

Schema re-pulled + codegen for the new activityLog query (course field
added on ActivityEntry).

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
@obcode
obcode merged commit 8f0ec8d into main Jul 20, 2026
3 checks passed
@obcode
obcode deleted the feat/activity-page branch July 20, 2026 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant